<template>
   <van-slider  v-model="curValue" :disabled="disabled"/>
</template>



<script lang="ts">
import { Vue, Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';

@Component({
    components: {
      
    }
})
export default class AppSlider extends Vue {

        /**
         * 确定的时间
         *
         * @type {number}
         * @memberof AppSlider
         */
        @Prop() public value?:number;

        /**
         * 是否禁用
         *
         * @type {number}
         * @memberof AppSlider
         */
        @Prop() public disabled?:boolean;

        get curValue(){
            return this.value;
        }
    
        set curValue(value:any){
            this.$emit('change',value);
        }
}
</script>
<style lang="less">
   
</style>